package com.gec.dao;

import java.util.List;

import com.gec.entity.Buycar;

public interface BuycarDao extends BaseDao<Buycar, Integer> {

	Buycar selectMeId(int id);

	Buycar selectGoodId(int gid);

	Buycar selectId(int mem_id, int good_id);
	
	int total(int id, int sid);

	void addbc(Buycar bc);

	List<Buycar> showAll(int id, int sid);

	Buycar selectNum(int id, int gid);

	Object selectSum(int id, int sid);

	int findCurs(int id);

	void addsNum(Integer integer);

	int selectByIdQty(Integer integer);

	Buycar selectById(Integer integer);

	List<Buycar> selectAllBuycar(int id, Integer integer);

	void cutGoodnum(Integer integer);

}
